﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="Main.aspx.cs" Inherits="Ym.Main" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script src="js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function secBoard(n) {
            for (i = 0; i < sectable.cells.length; i++)
                sectable.cells[i].className = "sec1";
            sectable.cells[n].className = "sec2";
            for (i = 0; i < maintable.tBodies.length; i++)
                maintable.tBodies[i].style.display = "none";
            maintable.tBodies[n].style.display = "block";
        }
        $(document).ready(function () {
            $("input, textarea").focus(function () { $(this).addClass("focus"); })
            .blur(function () { $(this).removeClass("focus"); });
        })
    </script>
</head>
<body>
    <table id="sectable" border="0" cellspacing="0" cellpadding="0" width="100%">
	    <tbody>
		    <tr>
			    <td class="sec2" onclick="secBoard(0)">盈彩印刷</td>
			    <td class="sec1" onclick="secBoard(1)">广告制作</td>
			    <td class="sec1" onclick="secBoard(2)">设计策划</td>
			    <td class="sec1" onclick="secBoard(3)">整合推广</td>
		    </tr>
	    </tbody>
    </table>
    <table id="maintable" class="main_tab" border="0" cellspacing="0" cellpadding="0" width="100%">
	    <tbody style="display: block">
		    <tr>
			    <td valign="top" align="center">
                    <form action="" method="post" runat="server">
                    <%--盈彩印刷网站设置--%>
                    <table border="0" class="setable" cellspacing="0" cellpadding="0" align="center">
	                    <tr>
                            <td colspan="3" class="bord"></td>
	                    </tr>
	                    <tr>
		                    <td class="tit" colspan="3">盈彩印刷网站设置</td>
	                    </tr>
						<tr>
	                        <td>网&nbsp;&nbsp;&nbsp;址：<input type="text" runat="server" class="txt" id="P_WebPath" /></td>
	                        <td colspan="2">标&nbsp;&nbsp;&nbsp;题：<input type="text" runat="server" class="txtlng" id="P_Title" /></td>
                            
                        </tr>
                        <tr>
	                        <td>名&nbsp;&nbsp;&nbsp;称：<input type="text" runat="server" class="txt" id="P_Name" /></td>
                            <td colspan="2">描&nbsp;&nbsp;&nbsp;述：<input type="text" runat="server" class="txtlng" id="P_Des" /></td>
                        </tr>
                        <tr>
	                        <td>&nbsp;IPC号：<input type="text" runat="server" class="txt" id="P_Ipc" /></td>
	                        <td colspan="2">关键字：<input type="text" runat="server" class="txtlng" id="P_Key" /></td>
                        </tr>
                        <tr>
	                        <td>传&nbsp;&nbsp;&nbsp;真：<input type="text" runat="server" class="txt" id="P_Fax" /></td>
	                        <td>地&nbsp;&nbsp;&nbsp;址：<input type="text" runat="server" class="txt" id="P_Add" /></td>
                            <td rowspan="4">
                                统计代码：<br /><textarea runat="server" id="P_Footer" rows="8" cols="30"></textarea>
                            </td>
                        </tr>
                        <tr>
	                        <td>联系人：<input type="text" runat="server" class="txt" id="P_Contact" /></td>
	                        <td>手&nbsp;&nbsp;&nbsp;机：<input type="text" runat="server" class="txt" id="P_Phone" /></td>
                        </tr>
                        <tr>
	                        <td>电&nbsp;&nbsp;&nbsp;话：<input type="text" runat="server" class="txt" id="P_Tel" /></td>
                            <td>
                                水&nbsp;&nbsp;&nbsp;印：<asp:CheckBox ID="P_WStatus" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>透明度：<input type="text" runat="server" class="txt" id="P_WTrans" /></td>
                            <td >地图标注：</td>
                        </tr>
                        <tr>
		                    <td colspan="3" class="save">
                                <asp:Button ID="set" runat="server" CssClass="btn" Text="保存" onclick="set_Click" />
                                <input id="reset" type="reset" class="btn" value="重置" />
                            </td>
	                    </tr>
	                    <tr>
		                    <td colspan="3" class="bord"></td>
	                    </tr>
                    </table>

                    </form>
			    </td>
		    </tr>
	    </tbody>
	    <tbody style="display: none">
		    <tr>
			    <td valign="top" align="center">

			    </td>
		    </tr>
	    </tbody>
	    <tbody style="display: none">
		    <tr>
			    <td valign="top" align="center">

			    </td>
		    </tr>
	    </tbody>
	    <tbody style="display: none">
		    <tr>
			    <td valign="top" align="center">

			    </td>
		    </tr>
	    </tbody>
    </table>
</body>
</html>
